﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="TestUpload.aspx.cs" Inherits="Rison.Web.CommonPage.FileUploader.TestUpload" %>
<%@ Register src="~/CommonPage/FileUploader/FileUpload.ascx" tagname="FileUpload" tagprefix="uc1" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">


<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title>Untitled Page</title>
    <script src="../../script/jquery-1.3.2.min.js" type="text/javascript"></script>
    <script src="FileUpload.js" type="text/javascript"></script>
    <script src="../../script/jquery.ajaxfileupload.js" type="text/javascript"></script>
    <link href="fileUpload.css" rel="stylesheet" type="text/css" />
</head>
<body>
    <form id="form1" runat="server">
    <div>
     <table>
        <tr>
            <td>
            <a href="javascript:void(1==1);" class="addfile" style="cursor: default;" hidefocus="true" id="fileContainer">
<input id='fileUploader1' class='btnupload' type='file' size='1' onchange="fileChange(this,'fileupload1_lblF_','fileupload1_rmlink','fileupload1_mdiv','fileupload1_hdnFileVal','fileUploader1');" title='点击选择附件' hidefocus="true" name="fileUploader"/>
</a>
            </td>

        </tr>
		<tr>
			<td>
				<div id="fileupload1_mdiv" runat="server"></div>
			</td>
		</tr>
    </table>				          
</div>
 <div>
     <table>
        <tr>
            <td>
            <a href="javascript:void(1==1);" class="addfile" style="cursor: default;" hidefocus="true" id="A1">
<input id='fileUploader2' class='btnupload' type='file' size='1' onchange="fileChange(this,'fileupload2_lblF_','fileupload2_rmlink','fileupload2_mdiv','fileupload2_hdnFileVal','fileUploader2');" title='点击选择附件' hidefocus="true" name="fileUploader"/>
</a>
            </td>

        </tr>
		<tr>
			<td>
				<div id="fileupload2_mdiv" runat="server"></div>
			</td>
		</tr>
    </table>				          
</div>
		<input type="hidden" runat="server" id="hdnExistFiles" />
		<asp:Button ID="btnSubmit" runat="server" Text="Submit" OnClick="btnSubmit_Click" />
    </form>
</body>
</html>
